package com.example.ecommercedemo.service;

import com.example.ecommercedemo.entity.User;
import com.example.ecommercedemo.entity.VO.LoginUser;

public interface UserService {
//    public List<UserVO> getUserList(@Param("u") UserVO userVO);
//    public UserVO login(String username);
//    public int addUser(UserVO userVO);//新增用户
//    public boolean isUserName(String username)throws Exception;
//    public int delUser(int id);
//    public UserVO getUserById(int id) ;
//    public int updateUser(UserVO userVO);
    public User getUser(LoginUser loginUser);
    public User getUserById(Integer userId);
}
